package app;

public class Father extends  Object{
    private String  name;
    private  String  age;

    public Father() {
    }

    public Father(String name, String age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
      public   int  eat(int  b){      //final 的作用
         System.out.println("吃饭.......");
         return 0;
     }
}
